package com.shopping.repository;

import com.shopping.Entity.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;

public interface UserInfoRepository extends JpaRepository<UserInfo, Integer> {
    UserInfo findById(int id);

    UserInfo save(UserInfo userInfo);
}
